home *** CD-ROM | disk | FTP | other *** search
- Path: 128.158.32.84!not-for-mail
- From: Brian.Day@msfc.nasa.gov (Brian Day)
- Newsgroups: comp.lang.c
- Subject: Standard question - pointer initialization
- Date: 6 Mar 1996 15:11:19 GMT
- Organization: NTI / MSFC / NASA
- Message-ID: <4hk9un$906@hammer.msfc.nasa.gov>
- NNTP-Posting-Host: 128.158.32.84
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- Hi all,
-
- I don't have a copy of the ANSI standard handy, and was wondering
- if y'all could answer a question for me.
-
- We were recently handed a coding standard which said:
-
- "Always initialize pointers when they are declared"
-
- Doesn't the standard say something about some pointers
- being automatically initialized to NULL, or something like that?
-
- Is this coding standard wise?
-
- Thanks,
-
- Brian
-
- --
- Brian.Day@msfc.nasa.gov Opinions are my own;
- New Technology, Inc. May be fatal if swallowed.
- Huntspatch, AL
-